package com.czk.originfeign.service;

import com.czk.aop.entity.User;
import feign.Headers;
import feign.RequestLine;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/8/10 17:26
 */
public interface RemoteService {
    /**
     * 调用远程服务的接口
     *
     * @return
     */
    @Headers({"Content-Type: application/json", "Accept: application/json"})
    @RequestLine("GET /weather/get")
    Object getWeather();
}
